package com.saxon.springcloud.dao;

import com.saxon.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {
    int insertDept (Dept dept);

    Dept queryDeptById (long id);

    List<Dept> queryAllDept ();
}
